#pragma once
#include "data.hpp"
#include "httplib.h"
#include <Windows.h>
#define SERVER_IP "101.34.52.93"
#define SERVER_PORT 8080
class Client
{
private:
	string _back_dir;
	DataManager* _data;
public:
	Client(string back_dir,string back_file)
		:_back_dir(back_dir)
	{
		_data = new DataManager(back_file);
	}
	string GetFileID(const string &filemname);
	bool RunModule();
	bool Upload(const string filename);
	bool IsNeedUpload(const string filename);
};